package com.levi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 系统用户
 * </p>
 *
 * @author levi
 * @since 2021-06-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SysUser对象", description="系统用户")
public class SysUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "系统用户主键")
      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "系统用户登陆账号")
    private String username;

    @ApiModelProperty(value = "系统用户登陆密码")
    private String password;

    @ApiModelProperty(value = "系统用户全称")
    private String fullName;

    @ApiModelProperty(value = "系统用户启用（0-否，1-是）")
    private Boolean enabled;

    @ApiModelProperty(value = "账户非锁定（0-否，1-是）")
    private Boolean accountNonLocked;


}
